/*      */ package com.zimbra.cs.account;
/*      */ 
/*      */ import com.zimbra.common.account.ZAttr;
/*      */ import com.zimbra.common.account.ZAttrProvisioning.AccountCalendarUserType;
/*      */ import com.zimbra.common.account.ZAttrProvisioning.CalResType;
/*      */ import com.zimbra.common.service.ServiceException;
/*      */ import com.zimbra.common.util.DateUtil;
/*      */ import java.util.Date;
/*      */ import java.util.HashMap;
/*      */ import java.util.Map;
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ public class ZAttrCalendarResource
/*      */   extends Account
/*      */ {
/*      */   public ZAttrCalendarResource(String name, String id, Map<String, Object> attrs, Map<String, Object> defaults, Provisioning prov)
/*      */   {
/*   35 */     super(name, id, attrs, defaults, prov);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=-1L)
/*      */   public String getDisplayName()
/*      */   {
/*   47 */     return getAttr("displayName", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=-1L)
/*      */   public void setDisplayName(String displayName)
/*      */     throws ServiceException
/*      */   {
/*   58 */     HashMap<String, Object> attrs = new HashMap();
/*   59 */     attrs.put("displayName", displayName);
/*   60 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=-1L)
/*      */   public Map<String, Object> setDisplayName(String displayName, Map<String, Object> attrs)
/*      */   {
/*   72 */     if (attrs == null) attrs = new HashMap();
/*   73 */     attrs.put("displayName", displayName);
/*   74 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=-1L)
/*      */   public void unsetDisplayName()
/*      */     throws ServiceException
/*      */   {
/*   84 */     HashMap<String, Object> attrs = new HashMap();
/*   85 */     attrs.put("displayName", "");
/*   86 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=-1L)
/*      */   public Map<String, Object> unsetDisplayName(Map<String, Object> attrs)
/*      */   {
/*   97 */     if (attrs == null) attrs = new HashMap();
/*   98 */     attrs.put("displayName", "");
/*   99 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public ZAttrProvisioning.AccountCalendarUserType getAccountCalendarUserType()
/*      */   {
/*      */     try
/*      */     {
/*  111 */       String v = getAttr("zimbraAccountCalendarUserType");return v == null ? null : ZAttrProvisioning.AccountCalendarUserType.fromString(v); } catch (ServiceException e) {} return null;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public String getAccountCalendarUserTypeAsString()
/*      */   {
/*  123 */     return getAttr("zimbraAccountCalendarUserType", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public void setAccountCalendarUserType(ZAttrProvisioning.AccountCalendarUserType zimbraAccountCalendarUserType)
/*      */     throws ServiceException
/*      */   {
/*  136 */     HashMap<String, Object> attrs = new HashMap();
/*  137 */     attrs.put("zimbraAccountCalendarUserType", zimbraAccountCalendarUserType.toString());
/*  138 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public Map<String, Object> setAccountCalendarUserType(ZAttrProvisioning.AccountCalendarUserType zimbraAccountCalendarUserType, Map<String, Object> attrs)
/*      */   {
/*  152 */     if (attrs == null) attrs = new HashMap();
/*  153 */     attrs.put("zimbraAccountCalendarUserType", zimbraAccountCalendarUserType.toString());
/*  154 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public void setAccountCalendarUserTypeAsString(String zimbraAccountCalendarUserType)
/*      */     throws ServiceException
/*      */   {
/*  167 */     HashMap<String, Object> attrs = new HashMap();
/*  168 */     attrs.put("zimbraAccountCalendarUserType", zimbraAccountCalendarUserType);
/*  169 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public Map<String, Object> setAccountCalendarUserTypeAsString(String zimbraAccountCalendarUserType, Map<String, Object> attrs)
/*      */   {
/*  183 */     if (attrs == null) attrs = new HashMap();
/*  184 */     attrs.put("zimbraAccountCalendarUserType", zimbraAccountCalendarUserType);
/*  185 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public void unsetAccountCalendarUserType()
/*      */     throws ServiceException
/*      */   {
/*  197 */     HashMap<String, Object> attrs = new HashMap();
/*  198 */     attrs.put("zimbraAccountCalendarUserType", "");
/*  199 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=313L)
/*      */   public Map<String, Object> unsetAccountCalendarUserType(Map<String, Object> attrs)
/*      */   {
/*  212 */     if (attrs == null) attrs = new HashMap();
/*  213 */     attrs.put("zimbraAccountCalendarUserType", "");
/*  214 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=315L)
/*      */   public boolean isCalResAutoAcceptDecline()
/*      */   {
/*  225 */     return getBooleanAttr("zimbraCalResAutoAcceptDecline", false);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=315L)
/*      */   public void setCalResAutoAcceptDecline(boolean zimbraCalResAutoAcceptDecline)
/*      */     throws ServiceException
/*      */   {
/*  237 */     HashMap<String, Object> attrs = new HashMap();
/*  238 */     attrs.put("zimbraCalResAutoAcceptDecline", zimbraCalResAutoAcceptDecline ? "TRUE" : "FALSE");
/*  239 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=315L)
/*      */   public Map<String, Object> setCalResAutoAcceptDecline(boolean zimbraCalResAutoAcceptDecline, Map<String, Object> attrs)
/*      */   {
/*  252 */     if (attrs == null) attrs = new HashMap();
/*  253 */     attrs.put("zimbraCalResAutoAcceptDecline", zimbraCalResAutoAcceptDecline ? "TRUE" : "FALSE");
/*  254 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=315L)
/*      */   public void unsetCalResAutoAcceptDecline()
/*      */     throws ServiceException
/*      */   {
/*  265 */     HashMap<String, Object> attrs = new HashMap();
/*  266 */     attrs.put("zimbraCalResAutoAcceptDecline", "");
/*  267 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=315L)
/*      */   public Map<String, Object> unsetCalResAutoAcceptDecline(Map<String, Object> attrs)
/*      */   {
/*  279 */     if (attrs == null) attrs = new HashMap();
/*  280 */     attrs.put("zimbraCalResAutoAcceptDecline", "");
/*  281 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=322L)
/*      */   public boolean isCalResAutoDeclineIfBusy()
/*      */   {
/*  292 */     return getBooleanAttr("zimbraCalResAutoDeclineIfBusy", false);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=322L)
/*      */   public void setCalResAutoDeclineIfBusy(boolean zimbraCalResAutoDeclineIfBusy)
/*      */     throws ServiceException
/*      */   {
/*  304 */     HashMap<String, Object> attrs = new HashMap();
/*  305 */     attrs.put("zimbraCalResAutoDeclineIfBusy", zimbraCalResAutoDeclineIfBusy ? "TRUE" : "FALSE");
/*  306 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=322L)
/*      */   public Map<String, Object> setCalResAutoDeclineIfBusy(boolean zimbraCalResAutoDeclineIfBusy, Map<String, Object> attrs)
/*      */   {
/*  319 */     if (attrs == null) attrs = new HashMap();
/*  320 */     attrs.put("zimbraCalResAutoDeclineIfBusy", zimbraCalResAutoDeclineIfBusy ? "TRUE" : "FALSE");
/*  321 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=322L)
/*      */   public void unsetCalResAutoDeclineIfBusy()
/*      */     throws ServiceException
/*      */   {
/*  332 */     HashMap<String, Object> attrs = new HashMap();
/*  333 */     attrs.put("zimbraCalResAutoDeclineIfBusy", "");
/*  334 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=322L)
/*      */   public Map<String, Object> unsetCalResAutoDeclineIfBusy(Map<String, Object> attrs)
/*      */   {
/*  346 */     if (attrs == null) attrs = new HashMap();
/*  347 */     attrs.put("zimbraCalResAutoDeclineIfBusy", "");
/*  348 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=323L)
/*      */   public boolean isCalResAutoDeclineRecurring()
/*      */   {
/*  359 */     return getBooleanAttr("zimbraCalResAutoDeclineRecurring", false);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=323L)
/*      */   public void setCalResAutoDeclineRecurring(boolean zimbraCalResAutoDeclineRecurring)
/*      */     throws ServiceException
/*      */   {
/*  371 */     HashMap<String, Object> attrs = new HashMap();
/*  372 */     attrs.put("zimbraCalResAutoDeclineRecurring", zimbraCalResAutoDeclineRecurring ? "TRUE" : "FALSE");
/*  373 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=323L)
/*      */   public Map<String, Object> setCalResAutoDeclineRecurring(boolean zimbraCalResAutoDeclineRecurring, Map<String, Object> attrs)
/*      */   {
/*  386 */     if (attrs == null) attrs = new HashMap();
/*  387 */     attrs.put("zimbraCalResAutoDeclineRecurring", zimbraCalResAutoDeclineRecurring ? "TRUE" : "FALSE");
/*  388 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=323L)
/*      */   public void unsetCalResAutoDeclineRecurring()
/*      */     throws ServiceException
/*      */   {
/*  399 */     HashMap<String, Object> attrs = new HashMap();
/*  400 */     attrs.put("zimbraCalResAutoDeclineRecurring", "");
/*  401 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=323L)
/*      */   public Map<String, Object> unsetCalResAutoDeclineRecurring(Map<String, Object> attrs)
/*      */   {
/*  413 */     if (attrs == null) attrs = new HashMap();
/*  414 */     attrs.put("zimbraCalResAutoDeclineRecurring", "");
/*  415 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=327L)
/*      */   public String getCalResBuilding()
/*      */   {
/*  425 */     return getAttr("zimbraCalResBuilding", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=327L)
/*      */   public void setCalResBuilding(String zimbraCalResBuilding)
/*      */     throws ServiceException
/*      */   {
/*  436 */     HashMap<String, Object> attrs = new HashMap();
/*  437 */     attrs.put("zimbraCalResBuilding", zimbraCalResBuilding);
/*  438 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=327L)
/*      */   public Map<String, Object> setCalResBuilding(String zimbraCalResBuilding, Map<String, Object> attrs)
/*      */   {
/*  450 */     if (attrs == null) attrs = new HashMap();
/*  451 */     attrs.put("zimbraCalResBuilding", zimbraCalResBuilding);
/*  452 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=327L)
/*      */   public void unsetCalResBuilding()
/*      */     throws ServiceException
/*      */   {
/*  462 */     HashMap<String, Object> attrs = new HashMap();
/*  463 */     attrs.put("zimbraCalResBuilding", "");
/*  464 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=327L)
/*      */   public Map<String, Object> unsetCalResBuilding(Map<String, Object> attrs)
/*      */   {
/*  475 */     if (attrs == null) attrs = new HashMap();
/*  476 */     attrs.put("zimbraCalResBuilding", "");
/*  477 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=330L)
/*      */   public int getCalResCapacity()
/*      */   {
/*  487 */     return getIntAttr("zimbraCalResCapacity", -1);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=330L)
/*      */   public void setCalResCapacity(int zimbraCalResCapacity)
/*      */     throws ServiceException
/*      */   {
/*  498 */     HashMap<String, Object> attrs = new HashMap();
/*  499 */     attrs.put("zimbraCalResCapacity", Integer.toString(zimbraCalResCapacity));
/*  500 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=330L)
/*      */   public Map<String, Object> setCalResCapacity(int zimbraCalResCapacity, Map<String, Object> attrs)
/*      */   {
/*  512 */     if (attrs == null) attrs = new HashMap();
/*  513 */     attrs.put("zimbraCalResCapacity", Integer.toString(zimbraCalResCapacity));
/*  514 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=330L)
/*      */   public void unsetCalResCapacity()
/*      */     throws ServiceException
/*      */   {
/*  524 */     HashMap<String, Object> attrs = new HashMap();
/*  525 */     attrs.put("zimbraCalResCapacity", "");
/*  526 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=330L)
/*      */   public Map<String, Object> unsetCalResCapacity(Map<String, Object> attrs)
/*      */   {
/*  537 */     if (attrs == null) attrs = new HashMap();
/*  538 */     attrs.put("zimbraCalResCapacity", "");
/*  539 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=332L)
/*      */   public String getCalResContactEmail()
/*      */   {
/*  549 */     return getAttr("zimbraCalResContactEmail", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=332L)
/*      */   public void setCalResContactEmail(String zimbraCalResContactEmail)
/*      */     throws ServiceException
/*      */   {
/*  560 */     HashMap<String, Object> attrs = new HashMap();
/*  561 */     attrs.put("zimbraCalResContactEmail", zimbraCalResContactEmail);
/*  562 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=332L)
/*      */   public Map<String, Object> setCalResContactEmail(String zimbraCalResContactEmail, Map<String, Object> attrs)
/*      */   {
/*  574 */     if (attrs == null) attrs = new HashMap();
/*  575 */     attrs.put("zimbraCalResContactEmail", zimbraCalResContactEmail);
/*  576 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=332L)
/*      */   public void unsetCalResContactEmail()
/*      */     throws ServiceException
/*      */   {
/*  586 */     HashMap<String, Object> attrs = new HashMap();
/*  587 */     attrs.put("zimbraCalResContactEmail", "");
/*  588 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=332L)
/*      */   public Map<String, Object> unsetCalResContactEmail(Map<String, Object> attrs)
/*      */   {
/*  599 */     if (attrs == null) attrs = new HashMap();
/*  600 */     attrs.put("zimbraCalResContactEmail", "");
/*  601 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=331L)
/*      */   public String getCalResContactName()
/*      */   {
/*  611 */     return getAttr("zimbraCalResContactName", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=331L)
/*      */   public void setCalResContactName(String zimbraCalResContactName)
/*      */     throws ServiceException
/*      */   {
/*  622 */     HashMap<String, Object> attrs = new HashMap();
/*  623 */     attrs.put("zimbraCalResContactName", zimbraCalResContactName);
/*  624 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=331L)
/*      */   public Map<String, Object> setCalResContactName(String zimbraCalResContactName, Map<String, Object> attrs)
/*      */   {
/*  636 */     if (attrs == null) attrs = new HashMap();
/*  637 */     attrs.put("zimbraCalResContactName", zimbraCalResContactName);
/*  638 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=331L)
/*      */   public void unsetCalResContactName()
/*      */     throws ServiceException
/*      */   {
/*  648 */     HashMap<String, Object> attrs = new HashMap();
/*  649 */     attrs.put("zimbraCalResContactName", "");
/*  650 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=331L)
/*      */   public Map<String, Object> unsetCalResContactName(Map<String, Object> attrs)
/*      */   {
/*  661 */     if (attrs == null) attrs = new HashMap();
/*  662 */     attrs.put("zimbraCalResContactName", "");
/*  663 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=333L)
/*      */   public String getCalResContactPhone()
/*      */   {
/*  673 */     return getAttr("zimbraCalResContactPhone", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=333L)
/*      */   public void setCalResContactPhone(String zimbraCalResContactPhone)
/*      */     throws ServiceException
/*      */   {
/*  684 */     HashMap<String, Object> attrs = new HashMap();
/*  685 */     attrs.put("zimbraCalResContactPhone", zimbraCalResContactPhone);
/*  686 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=333L)
/*      */   public Map<String, Object> setCalResContactPhone(String zimbraCalResContactPhone, Map<String, Object> attrs)
/*      */   {
/*  698 */     if (attrs == null) attrs = new HashMap();
/*  699 */     attrs.put("zimbraCalResContactPhone", zimbraCalResContactPhone);
/*  700 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=333L)
/*      */   public void unsetCalResContactPhone()
/*      */     throws ServiceException
/*      */   {
/*  710 */     HashMap<String, Object> attrs = new HashMap();
/*  711 */     attrs.put("zimbraCalResContactPhone", "");
/*  712 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=333L)
/*      */   public Map<String, Object> unsetCalResContactPhone(Map<String, Object> attrs)
/*      */   {
/*  723 */     if (attrs == null) attrs = new HashMap();
/*  724 */     attrs.put("zimbraCalResContactPhone", "");
/*  725 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=328L)
/*      */   public String getCalResFloor()
/*      */   {
/*  735 */     return getAttr("zimbraCalResFloor", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=328L)
/*      */   public void setCalResFloor(String zimbraCalResFloor)
/*      */     throws ServiceException
/*      */   {
/*  746 */     HashMap<String, Object> attrs = new HashMap();
/*  747 */     attrs.put("zimbraCalResFloor", zimbraCalResFloor);
/*  748 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=328L)
/*      */   public Map<String, Object> setCalResFloor(String zimbraCalResFloor, Map<String, Object> attrs)
/*      */   {
/*  760 */     if (attrs == null) attrs = new HashMap();
/*  761 */     attrs.put("zimbraCalResFloor", zimbraCalResFloor);
/*  762 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=328L)
/*      */   public void unsetCalResFloor()
/*      */     throws ServiceException
/*      */   {
/*  772 */     HashMap<String, Object> attrs = new HashMap();
/*  773 */     attrs.put("zimbraCalResFloor", "");
/*  774 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=328L)
/*      */   public Map<String, Object> unsetCalResFloor(Map<String, Object> attrs)
/*      */   {
/*  785 */     if (attrs == null) attrs = new HashMap();
/*  786 */     attrs.put("zimbraCalResFloor", "");
/*  787 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=324L)
/*      */   public String getCalResLocationDisplayName()
/*      */   {
/*  797 */     return getAttr("zimbraCalResLocationDisplayName", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=324L)
/*      */   public void setCalResLocationDisplayName(String zimbraCalResLocationDisplayName)
/*      */     throws ServiceException
/*      */   {
/*  808 */     HashMap<String, Object> attrs = new HashMap();
/*  809 */     attrs.put("zimbraCalResLocationDisplayName", zimbraCalResLocationDisplayName);
/*  810 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=324L)
/*      */   public Map<String, Object> setCalResLocationDisplayName(String zimbraCalResLocationDisplayName, Map<String, Object> attrs)
/*      */   {
/*  822 */     if (attrs == null) attrs = new HashMap();
/*  823 */     attrs.put("zimbraCalResLocationDisplayName", zimbraCalResLocationDisplayName);
/*  824 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=324L)
/*      */   public void unsetCalResLocationDisplayName()
/*      */     throws ServiceException
/*      */   {
/*  834 */     HashMap<String, Object> attrs = new HashMap();
/*  835 */     attrs.put("zimbraCalResLocationDisplayName", "");
/*  836 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=324L)
/*      */   public Map<String, Object> unsetCalResLocationDisplayName(Map<String, Object> attrs)
/*      */   {
/*  847 */     if (attrs == null) attrs = new HashMap();
/*  848 */     attrs.put("zimbraCalResLocationDisplayName", "");
/*  849 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=808L)
/*      */   public int getCalResMaxNumConflictsAllowed()
/*      */   {
/*  863 */     return getIntAttr("zimbraCalResMaxNumConflictsAllowed", -1);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=808L)
/*      */   public void setCalResMaxNumConflictsAllowed(int zimbraCalResMaxNumConflictsAllowed)
/*      */     throws ServiceException
/*      */   {
/*  878 */     HashMap<String, Object> attrs = new HashMap();
/*  879 */     attrs.put("zimbraCalResMaxNumConflictsAllowed", Integer.toString(zimbraCalResMaxNumConflictsAllowed));
/*  880 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=808L)
/*      */   public Map<String, Object> setCalResMaxNumConflictsAllowed(int zimbraCalResMaxNumConflictsAllowed, Map<String, Object> attrs)
/*      */   {
/*  896 */     if (attrs == null) attrs = new HashMap();
/*  897 */     attrs.put("zimbraCalResMaxNumConflictsAllowed", Integer.toString(zimbraCalResMaxNumConflictsAllowed));
/*  898 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=808L)
/*      */   public void unsetCalResMaxNumConflictsAllowed()
/*      */     throws ServiceException
/*      */   {
/*  912 */     HashMap<String, Object> attrs = new HashMap();
/*  913 */     attrs.put("zimbraCalResMaxNumConflictsAllowed", "");
/*  914 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=808L)
/*      */   public Map<String, Object> unsetCalResMaxNumConflictsAllowed(Map<String, Object> attrs)
/*      */   {
/*  929 */     if (attrs == null) attrs = new HashMap();
/*  930 */     attrs.put("zimbraCalResMaxNumConflictsAllowed", "");
/*  931 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=809L)
/*      */   public int getCalResMaxPercentConflictsAllowed()
/*      */   {
/*  945 */     return getIntAttr("zimbraCalResMaxPercentConflictsAllowed", -1);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=809L)
/*      */   public void setCalResMaxPercentConflictsAllowed(int zimbraCalResMaxPercentConflictsAllowed)
/*      */     throws ServiceException
/*      */   {
/*  960 */     HashMap<String, Object> attrs = new HashMap();
/*  961 */     attrs.put("zimbraCalResMaxPercentConflictsAllowed", Integer.toString(zimbraCalResMaxPercentConflictsAllowed));
/*  962 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=809L)
/*      */   public Map<String, Object> setCalResMaxPercentConflictsAllowed(int zimbraCalResMaxPercentConflictsAllowed, Map<String, Object> attrs)
/*      */   {
/*  978 */     if (attrs == null) attrs = new HashMap();
/*  979 */     attrs.put("zimbraCalResMaxPercentConflictsAllowed", Integer.toString(zimbraCalResMaxPercentConflictsAllowed));
/*  980 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=809L)
/*      */   public void unsetCalResMaxPercentConflictsAllowed()
/*      */     throws ServiceException
/*      */   {
/*  994 */     HashMap<String, Object> attrs = new HashMap();
/*  995 */     attrs.put("zimbraCalResMaxPercentConflictsAllowed", "");
/*  996 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=809L)
/*      */   public Map<String, Object> unsetCalResMaxPercentConflictsAllowed(Map<String, Object> attrs)
/*      */   {
/* 1011 */     if (attrs == null) attrs = new HashMap();
/* 1012 */     attrs.put("zimbraCalResMaxPercentConflictsAllowed", "");
/* 1013 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=329L)
/*      */   public String getCalResRoom()
/*      */   {
/* 1023 */     return getAttr("zimbraCalResRoom", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=329L)
/*      */   public void setCalResRoom(String zimbraCalResRoom)
/*      */     throws ServiceException
/*      */   {
/* 1034 */     HashMap<String, Object> attrs = new HashMap();
/* 1035 */     attrs.put("zimbraCalResRoom", zimbraCalResRoom);
/* 1036 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=329L)
/*      */   public Map<String, Object> setCalResRoom(String zimbraCalResRoom, Map<String, Object> attrs)
/*      */   {
/* 1048 */     if (attrs == null) attrs = new HashMap();
/* 1049 */     attrs.put("zimbraCalResRoom", zimbraCalResRoom);
/* 1050 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=329L)
/*      */   public void unsetCalResRoom()
/*      */     throws ServiceException
/*      */   {
/* 1060 */     HashMap<String, Object> attrs = new HashMap();
/* 1061 */     attrs.put("zimbraCalResRoom", "");
/* 1062 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=329L)
/*      */   public Map<String, Object> unsetCalResRoom(Map<String, Object> attrs)
/*      */   {
/* 1073 */     if (attrs == null) attrs = new HashMap();
/* 1074 */     attrs.put("zimbraCalResRoom", "");
/* 1075 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=326L)
/*      */   public String getCalResSite()
/*      */   {
/* 1085 */     return getAttr("zimbraCalResSite", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=326L)
/*      */   public void setCalResSite(String zimbraCalResSite)
/*      */     throws ServiceException
/*      */   {
/* 1096 */     HashMap<String, Object> attrs = new HashMap();
/* 1097 */     attrs.put("zimbraCalResSite", zimbraCalResSite);
/* 1098 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=326L)
/*      */   public Map<String, Object> setCalResSite(String zimbraCalResSite, Map<String, Object> attrs)
/*      */   {
/* 1110 */     if (attrs == null) attrs = new HashMap();
/* 1111 */     attrs.put("zimbraCalResSite", zimbraCalResSite);
/* 1112 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=326L)
/*      */   public void unsetCalResSite()
/*      */     throws ServiceException
/*      */   {
/* 1122 */     HashMap<String, Object> attrs = new HashMap();
/* 1123 */     attrs.put("zimbraCalResSite", "");
/* 1124 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=326L)
/*      */   public Map<String, Object> unsetCalResSite(Map<String, Object> attrs)
/*      */   {
/* 1135 */     if (attrs == null) attrs = new HashMap();
/* 1136 */     attrs.put("zimbraCalResSite", "");
/* 1137 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public ZAttrProvisioning.CalResType getCalResType()
/*      */   {
/*      */     try
/*      */     {
/* 1149 */       String v = getAttr("zimbraCalResType");return v == null ? null : ZAttrProvisioning.CalResType.fromString(v); } catch (ServiceException e) {} return null;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public String getCalResTypeAsString()
/*      */   {
/* 1161 */     return getAttr("zimbraCalResType", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public void setCalResType(ZAttrProvisioning.CalResType zimbraCalResType)
/*      */     throws ServiceException
/*      */   {
/* 1174 */     HashMap<String, Object> attrs = new HashMap();
/* 1175 */     attrs.put("zimbraCalResType", zimbraCalResType.toString());
/* 1176 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public Map<String, Object> setCalResType(ZAttrProvisioning.CalResType zimbraCalResType, Map<String, Object> attrs)
/*      */   {
/* 1190 */     if (attrs == null) attrs = new HashMap();
/* 1191 */     attrs.put("zimbraCalResType", zimbraCalResType.toString());
/* 1192 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public void setCalResTypeAsString(String zimbraCalResType)
/*      */     throws ServiceException
/*      */   {
/* 1205 */     HashMap<String, Object> attrs = new HashMap();
/* 1206 */     attrs.put("zimbraCalResType", zimbraCalResType);
/* 1207 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public Map<String, Object> setCalResTypeAsString(String zimbraCalResType, Map<String, Object> attrs)
/*      */   {
/* 1221 */     if (attrs == null) attrs = new HashMap();
/* 1222 */     attrs.put("zimbraCalResType", zimbraCalResType);
/* 1223 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public void unsetCalResType()
/*      */     throws ServiceException
/*      */   {
/* 1235 */     HashMap<String, Object> attrs = new HashMap();
/* 1236 */     attrs.put("zimbraCalResType", "");
/* 1237 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=314L)
/*      */   public Map<String, Object> unsetCalResType(Map<String, Object> attrs)
/*      */   {
/* 1250 */     if (attrs == null) attrs = new HashMap();
/* 1251 */     attrs.put("zimbraCalResType", "");
/* 1252 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public Date getCreateTimestamp()
/*      */   {
/* 1268 */     return getGeneralizedTimeAttr("zimbraCreateTimestamp", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public String getCreateTimestampAsString()
/*      */   {
/* 1280 */     return getAttr("zimbraCreateTimestamp", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public void setCreateTimestamp(Date zimbraCreateTimestamp)
/*      */     throws ServiceException
/*      */   {
/* 1293 */     HashMap<String, Object> attrs = new HashMap();
/* 1294 */     attrs.put("zimbraCreateTimestamp", zimbraCreateTimestamp == null ? "" : DateUtil.toGeneralizedTime(zimbraCreateTimestamp));
/* 1295 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public Map<String, Object> setCreateTimestamp(Date zimbraCreateTimestamp, Map<String, Object> attrs)
/*      */   {
/* 1309 */     if (attrs == null) attrs = new HashMap();
/* 1310 */     attrs.put("zimbraCreateTimestamp", zimbraCreateTimestamp == null ? "" : DateUtil.toGeneralizedTime(zimbraCreateTimestamp));
/* 1311 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public void setCreateTimestampAsString(String zimbraCreateTimestamp)
/*      */     throws ServiceException
/*      */   {
/* 1324 */     HashMap<String, Object> attrs = new HashMap();
/* 1325 */     attrs.put("zimbraCreateTimestamp", zimbraCreateTimestamp);
/* 1326 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public Map<String, Object> setCreateTimestampAsString(String zimbraCreateTimestamp, Map<String, Object> attrs)
/*      */   {
/* 1340 */     if (attrs == null) attrs = new HashMap();
/* 1341 */     attrs.put("zimbraCreateTimestamp", zimbraCreateTimestamp);
/* 1342 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public void unsetCreateTimestamp()
/*      */     throws ServiceException
/*      */   {
/* 1354 */     HashMap<String, Object> attrs = new HashMap();
/* 1355 */     attrs.put("zimbraCreateTimestamp", "");
/* 1356 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=790L)
/*      */   public Map<String, Object> unsetCreateTimestamp(Map<String, Object> attrs)
/*      */   {
/* 1369 */     if (attrs == null) attrs = new HashMap();
/* 1370 */     attrs.put("zimbraCreateTimestamp", "");
/* 1371 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=1L)
/*      */   public String getId()
/*      */   {
/* 1381 */     return getAttr("zimbraId", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=1L)
/*      */   public void setId(String zimbraId)
/*      */     throws ServiceException
/*      */   {
/* 1392 */     HashMap<String, Object> attrs = new HashMap();
/* 1393 */     attrs.put("zimbraId", zimbraId);
/* 1394 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=1L)
/*      */   public Map<String, Object> setId(String zimbraId, Map<String, Object> attrs)
/*      */   {
/* 1406 */     if (attrs == null) attrs = new HashMap();
/* 1407 */     attrs.put("zimbraId", zimbraId);
/* 1408 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=1L)
/*      */   public void unsetId()
/*      */     throws ServiceException
/*      */   {
/* 1418 */     HashMap<String, Object> attrs = new HashMap();
/* 1419 */     attrs.put("zimbraId", "");
/* 1420 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=1L)
/*      */   public Map<String, Object> unsetId(Map<String, Object> attrs)
/*      */   {
/* 1431 */     if (attrs == null) attrs = new HashMap();
/* 1432 */     attrs.put("zimbraId", "");
/* 1433 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=345L)
/*      */   public String getLocaleAsString()
/*      */   {
/* 1443 */     return getAttr("zimbraLocale", null);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=345L)
/*      */   public void setLocale(String zimbraLocale)
/*      */     throws ServiceException
/*      */   {
/* 1454 */     HashMap<String, Object> attrs = new HashMap();
/* 1455 */     attrs.put("zimbraLocale", zimbraLocale);
/* 1456 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=345L)
/*      */   public Map<String, Object> setLocale(String zimbraLocale, Map<String, Object> attrs)
/*      */   {
/* 1468 */     if (attrs == null) attrs = new HashMap();
/* 1469 */     attrs.put("zimbraLocale", zimbraLocale);
/* 1470 */     return attrs;
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=345L)
/*      */   public void unsetLocale()
/*      */     throws ServiceException
/*      */   {
/* 1480 */     HashMap<String, Object> attrs = new HashMap();
/* 1481 */     attrs.put("zimbraLocale", "");
/* 1482 */     getProvisioning().modifyAttrs(this, attrs);
/*      */   }
/*      */   
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */ 
/*      */   @ZAttr(id=345L)
/*      */   public Map<String, Object> unsetLocale(Map<String, Object> attrs)
/*      */   {
/* 1493 */     if (attrs == null) attrs = new HashMap();
/* 1494 */     attrs.put("zimbraLocale", "");
/* 1495 */     return attrs;
/*      */   }
/*      */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/account/ZAttrCalendarResource.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */